﻿<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReferencedAssemblies="System.dll&#13;&#10;System.Core.dll&#13;&#10;System.Drawing.dll&#13;&#10;System.Windows.Forms.dll&#13;&#10;System.Data.dll&#13;&#10;System.Xml.dll&#13;&#10;Sungero.Domain.Shared&#13;&#10;Sungero.CoreEntities.Shared&#13;&#10;Sungero.Reporting.Shared&#13;&#10;CommonLibrary&#13;&#10;Sungero.Domain.Interfaces&#13;&#10;Sungero.Docflow.Shared&#13;&#10;Sungero.Docflow.Server" ReportInfo.CreatorVersion="2020.2.12.0">
  <ScriptText>using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using FastReport;
using FastReport.Data;
using FastReport.Dialog;
using FastReport.Barcode;
using FastReport.Table;
using FastReport.Utils;
using Sungero.Domain.Shared;
using Sungero.CoreEntities;
using Sungero.Core;
using Resources = Sungero.Docflow.Reports.Resources;


namespace FastReport
{
  public class ReportScript
  {
    private void _Text1AfterData(object sender, EventArgs e)
    {
      if (Length(Text1.Text) &gt; 23)
        Text1.HorzAlign = HorzAlign.Left;
    }    
  }
}
  </ScriptText>
  <Dictionary>
    <SungeroSqlDataConnection Name="Sungero_Connection" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties" ConnectionStringExpression="[SungeroConnectionString]"/>
    <SungeroParameter Name="SungeroConnectionString" Restrictions="DontModify, DontEdit, DontDelete, HideAllProperties, DontShow" Id="17b1b363-d6a5-44c7-bc16-b8db1a3dc4b6" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="barcode" Id="096c51f2-efb2-4a96-a68c-8cd4f920e2f8" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
    <SungeroParameter Name="barcodeName" Id="4af5c72f-b973-4865-9ef2-8ff8ad65ebb4" IsRequired="false" IsCollection="false" InternalDataType="System.String" IsSimpleDataType="false" EntityTypeId="00000000-0000-0000-0000-000000000000"/>
  </Dictionary>
  <ReportPage Name="Page1" Watermark.Font="Arial, 60pt">
    <ReportTitleBand Name="ReportTitle1" Width="718.2"/>
    <PageHeaderBand Name="PageHeader1" Top="4" Width="718.2" Height="113.4">
      <TextObject Name="Text1" Left="-4.91" Top="56.7" Width="179.55" Height="18.9" CanGrow="true" AfterDataEvent="_Text1AfterData" Text="[barcodeName]" HorzAlign="Center" Font="Arial, 9pt"/>
      <BarcodeObject Name="Barcode1" Left="-9.45" Width="189" Height="47.25" AutoSize="false" Expression="[barcode]" ShowText="false" Zoom="0.75" AllowExpressions="true" Barcode="Code128" Barcode.AutoEncode="true"/>
    </PageHeaderBand>
    <DataBand Name="Data1" Top="121.4" Width="718.2" Height="75.6"/>
    <PageFooterBand Name="PageFooter1" Top="201" Width="718.2" Height="18.9"/>
  </ReportPage>
</Report>
